-
Notifications
You must be signed in to change notification settings - Fork 32
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Do not call "bash -c" unnecessarily as entry points #249
Do not call "bash -c" unnecessarily as entry points #249
Conversation
Hi @ralonsoh. Thanks for your PR. I'm waiting for a openstack-k8s-operators member to verify that this patch is reasonable to test. If it is, they should reply with Once the patch is verified, the new status will be reflected by the I understand the commands that are listed here. Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. |
Build failed (check pipeline). Post https://review.rdoproject.org/zuul/buildset/9babb1ba4c57454b90662c4b937fe4e1 ❌ openstack-k8s-operators-content-provider FAILURE in 6m 31s |
/ok-to-test |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Doesn't compile, and I think you have to have a shell to do &&. Either we find a different way to do setup (with job / preStart hook), or have a script that would start ovn-controller for us; or do nothing.
Build failed (check pipeline). Post https://softwarefactory-project.io/zuul/t/rdoproject.org/buildset/60351f5760564d2abd0ab6157bf18ff7 ❌ openstack-k8s-operators-content-provider FAILURE in 7m 24s |
Build failed (check pipeline). Post https://softwarefactory-project.io/zuul/t/rdoproject.org/buildset/be180f1f13d442338835c25e16a81413 ❌ openstack-k8s-operators-content-provider FAILURE in 7m 07s |
Build failed (check pipeline). Post https://softwarefactory-project.io/zuul/t/rdoproject.org/buildset/51e9fd937426432f92e76762194c3b1b ❌ openstack-k8s-operators-content-provider FAILURE in 8m 55s |
@booxter @karelyatin @slawqo I think this patch is ready for review, thanks in advance. |
@ralonsoh LGTM for the changes done here, but the linked but also mentions about bash usage in ovncontroller but i don't see any changes/comment for that either in PR or in Jira and also the comment says Closes Jira. |
@karelyatin when the ovn-controller command [1] is executed outside the bash call, it always returns an error with the socket file. Also when dumb-init is used. The directory /run/openvswitch exists. E.g.:
|
@ralonsoh but dumb-init shouldn't be needed just for this, i did tried locally removing bash and seems to work. |
I did something similar some PS ago [1] and it wasn't working. The problem was to divide the command string... Thanks for your help. [1]40f649e#diff-853730e1a0e56623824bb603929544f54d838010a75b27a62b285ae738064744 |
Build failed (check pipeline). Post https://softwarefactory-project.io/zuul/t/rdoproject.org/buildset/86d0858cda2a4117908ca694ce919b3c ❌ openstack-k8s-operators-content-provider FAILURE in 7m 35s |
Resolves: #OSPRH-680
/retest-required |
Ok, I think now is ready (again). |
/lgtm |
/approve |
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: booxter, ralonsoh The full list of commands accepted by this bot can be found here. The pull request process is described here
Needs approval from an approver in each of these files:
Approvers can indicate their approval by writing |
Not sure why it didn't create |
I recall seeing something similar in past where bot didn't add the label. Readding helped, but don't know about root cause. thx for noticing it. |
/retest-required |
It may be worth understanding why this failed before merging. It may be not related to this patch, but if so, it would be nice to understand what other issue triggers it, and to make sure there's a Jira issue for this. |
/test ovn-operator-build-deploy-kuttl |
7c848b5
into
openstack-k8s-operators:main
Closes: OSPRH-680